package spring.yongongsystem.POJO.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;
    //产品id
    private Long id;
    //产品名称
    private String name;
    //产品简介
    private String description;
    //产品价格
    private Double price;
    //产品种类id
    private Long categoryId;
    //图片
    private String photo;
}